﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ChoViet.Model;
using System.Web.Mvc;
using ChoViet.Lib.Common;
namespace ChoViet.CMS.ViewModels
{
    public class AdAttributeIndexViewModel
    {
        public IList<SelectListItem> CategoryBuiltTree { get; set; }
        public List<AdAttribute> AdAttributes { get; set; }
        public string Keyword { get; set;}
        public int CurrentCat { get; set;}
    }

    public class AdAttributeEditViewModel
    {
        public AdAttribute AdAttribute { get; set;}
        public IList<SelectListItem> CategoryBuiltTree { get; set; }
        public List<Category> ParrentCatrgories { get; set; }
    }
    public class AdAttributeDetailsViewModel
    {
        public AdAttribute AdAttribute { get; set; }
        public List<AdAttributeValue> AdAttributeValues { get; set; }
        public string CateName { get; set;}
    }
}
